home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global md4, rantime, mp
- set rantime to the ticks
- set mp to 7
- if the name of cast the castNum of sprite 7 = "scend" then
- set the castNum of sprite 7 to the number of cast "scstart"
- set md4 to the duration of cast the number of cast "scstart" - 3
- else
- set md4 to the duration of cast (the castNum of sprite 7 + 1) - 3
- set the castNum of sprite 7 to the castNum of sprite 7 + 1
- end if
- end
-